package cn.xiyue.production.bean;

import cn.xiyue.production.annotation.ColumnName;

public class Material {

    /**
     * suppleyName : 宝马
     * materialName : 发动机A
     * size : 2
     * costTime : 1
     * suppleyListId : 1
     * price : 20000
     * num : 158
     * suppleyId : 1
     * materialId : 1
     * content : SUV发动机
     */
    @ColumnName(value = "供货商",index = 4)
    private String suppleyName;
    private String materialName;
    private int size;
    private int costTime;
    private int suppleyListId;
    @ColumnName(value = "价格",index = 2,sort = true)
    private int price;
    @ColumnName(value = "数量",index = 3,sort = true)
    private int num;
    private int suppleyId;
    private int materialId;
    @ColumnName(value = "商品",index = 1)
    private String content;

    public String getSuppleyName() {
        return suppleyName;
    }

    public void setSuppleyName(String suppleyName) {
        this.suppleyName = suppleyName;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getCostTime() {
        return costTime;
    }

    public void setCostTime(int costTime) {
        this.costTime = costTime;
    }

    public int getSuppleyListId() {
        return suppleyListId;
    }

    public void setSuppleyListId(int suppleyListId) {
        this.suppleyListId = suppleyListId;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getSuppleyId() {
        return suppleyId;
    }

    public void setSuppleyId(int suppleyId) {
        this.suppleyId = suppleyId;
    }

    public int getMaterialId() {
        return materialId;
    }

    public void setMaterialId(int materialId) {
        this.materialId = materialId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
